package com.dingli.framework.entity;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class Bank {
    @ApiModelProperty("银行ID")
    private Long bank_id;
    @ApiModelProperty("银行名称")
    private String bank_name;
    @ApiModelProperty("简称")
    private String short_name;
    @ApiModelProperty("注册时间")
    private Date establish_date;
    @ApiModelProperty("经度")
    private double longitude;
    @ApiModelProperty("纬度")
    private double latitude;
    @ApiModelProperty("地址")
    private String address;

    @Override
    public String toString() {
        return "Bank{" +
                "bank_id=" + bank_id +
                ", bank_name='" + bank_name + '\'' +
                ", short_name='" + short_name + '\'' +
                ", establish_date=" + establish_date +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", address='" + address + '\'' +
                '}';
    }

    public Long getBank_id() {
        return bank_id;
    }

    public void setBank_id(Long bank_id) {
        this.bank_id = bank_id;
    }

    public String getBank_name() {
        return bank_name;
    }

    public void setBank_name(String bank_name) {
        this.bank_name = bank_name;
    }

    public String getShort_name() {
        return short_name;
    }

    public void setShort_name(String short_name) {
        this.short_name = short_name;
    }

    public Date getEstablish_date() {
        return establish_date;
    }

    public void setEstablish_date(Date establish_date) {
        this.establish_date = establish_date;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Bank() {
    }

    public Bank(Long bank_id, String bank_name, String short_name, Date establish_date, double longitude, double latitude, String address) {
        this.bank_id = bank_id;
        this.bank_name = bank_name;
        this.short_name = short_name;
        this.establish_date = establish_date;
        this.longitude = longitude;
        this.latitude = latitude;
        this.address = address;
    }
}
